package com.example.mvvmtest.broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.example.mvvmtest.utils.LogUtil;

public class NetworkBroadcastB extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        LogUtil.e("NetworkBroadcastB:" + intent.getStringExtra("key1"));
        Bundle bundle = new Bundle();
        bundle.putString("next_receiver", "下一个广播接收者");
        setResultExtras(bundle);
    }
}
